import factory from "./src/index"

const LanguagePacker = {}
LanguagePacker.install = function (Vue, options) {
    if (options.handler) Vue.prototype[options.handler] = factory(options)
    else Vue.prototype.$t = factory(options)
}

export default LanguagePacker